#!/usr/bin/env python

import sys
from fiona.inspector import main

if __name__ == '__main__':
    
    import argparse

    parser = argparse.ArgumentParser(
        prog="fiona.insp",
        description="Open a data file and drop into an interactive interpreter")
    parser.add_argument(
        'src', 
        metavar='FILE', 
        help="Input dataset file name")
    args = parser.parse_args()
    
    sys.exit(main(args.src))
